<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>图表示例</title>

    <!-- Bootstrap -->
    <link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="container" style="margin-top: 10px;">
      <div class="row">
        <div class="col-xs-12 col-sm-6 col-md-6">
          <div class="panel panel-success">
             <div class="panel-heading">
                <h3 class="panel-title">地图</h3>
             </div>
             <div id="chartpanel1" class="panel-body" style="height:462px;"></div>
          </div>
        </div>
        <div class="col-xs-12 col-md-6">
          <div class="panel panel-success">
             <div class="panel-heading">
                <h3 class="panel-title">柱状、折线</h3>
             </div>
             <div id="chartpanel2" class="panel-body" style="height:462px;"></div>
          </div>
        </div>
      </div>
      <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-12">
          <div class="panel panel-success">
             <div class="panel-heading">
                <h3 class="panel-title">折线、饼图、时间轴</h3>
             </div>
             <div id="chartpanel3" class="panel-body" style="height:462px;"></div>
          </div>
        </div>
      </div>  
    </div>

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="http://cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="lib/bootstrap/js/bootstrap.min.js"></script>
    <script src="lib/infovis.min.js"></script>
    <script type="text/javascript">
        $.getJSON('data/config.json', function(config) {
        	console.log(JSON.stringify(config))
        		var a = config.body.data
        		for(var i=0;i<a.length;i++){
        			console.log(JSON.stringify(a[i]))
        		}
        		config = null;
        		config = {"head":{"version":1,"engine":"echarts","useMap":true},"body":{"data":[{"id":"dataset01","layout":[{"id":"chart1","title":{"text":"中国人口密度 （2011）","subtext":"人口密度数据来自Wikipedia"},"tooltip":{"trigger":"item","formatter":"{b}"},"visualMap":{"min":500,"max":10000,"text":["高/万人","低/万人"],"realtime":false,"calculable":true,"color":["orangered","yellow","lightskyblue"]},"series":[{"name":"中国","type":"map","mapType":"china","zoom":1,"selectedMode":"single","label":{"normal":{"show":true},"emphasis":{"show":true}},"data":[{"name":"河南","value":9768},{"name":"山东","value":9108},{"name":"四川","value":8529},{"name":"广东","value":7223},{"name":"江苏","value":7164},{"name":"河北","value":6782},{"name":"湖南","value":6599},{"name":"安徽","value":6410},{"name":"湖北","value":6001},{"name":"广西","value":4830},{"name":"浙江","value":4552},{"name":"江西","value":4302},{"name":"云南","value":4176},{"name":"辽宁","value":4162},{"name":"贵州","value":3787},{"name":"黑龙江","value":3724},{"name":"陕西","value":3642},{"name":"福建","value":3350},{"name":"山西","value":3268},{"name":"重庆","value":3130},{"name":"吉林","value":2659},{"name":"甘肃","value":2581},{"name":"内蒙古","value":2350},{"name":"台湾","value":2000},{"name":"新疆","value":1889},{"name":"上海","value":1342},{"name":"北京","value":1154},{"name":"天津","value":932},{"name":"海南","value":790},{"name":"香港","value":680},{"name":"宁夏","value":580},{"name":"青海","value":492},{"name":"西藏","value":259},{"name":"澳门","value":44.5}]}]},{"id":"chart2","title":{"text":"香港18区人口密度 （2011）","subtext":"人口密度数据来自Wikipedia","sublink":"http://zh.wikipedia.org/wiki/%E9%A6%99%E6%B8%AF%E8%A1%8C%E6%94%BF%E5%8D%80%E5%8A%83#cite_note-12"},"tooltip":{"trigger":"item","formatter":"{b}<br/>{c} (p / km2)"},"toolbox":{"show":true,"orient":"vertical","left":"right","top":"center","feature":{"dataView":{"readOnly":false},"restore":{},"saveAsImage":{}}},"visualMap":{"min":800,"max":50000,"text":["High","Low"],"realtime":false,"calculable":true,"color":["orangered","yellow","lightskyblue"]},"series":[{"name":"香港18区人口密度","type":"map","mapType":"香港","zoom":1,"itemStyle":{"normal":{"label":{"show":true}},"emphasis":{"label":{"show":true}}},"data":[{"name":"中西区","value":20057.34},{"name":"湾仔","value":15477.48},{"name":"东区","value":31686.1},{"name":"南区","value":6992.6},{"name":"油尖旺","value":44045.49},{"name":"深水埗","value":40689.64},{"name":"九龙城","value":37659.78},{"name":"黄大仙","value":45180.97},{"name":"观塘","value":55204.26},{"name":"葵青","value":21900.9},{"name":"荃湾","value":4918.26},{"name":"屯门","value":5881.84},{"name":"元朗","value":4178.01},{"name":"北区","value":2227.92},{"name":"大埔","value":2180.98},{"name":"沙田","value":9172.94},{"name":"西贡","value":3368},{"name":"离岛","value":806.98}],"nameMap":{"中西區":"中西区","東區":"东区","離島區":"离岛","九龍城區":"九龙城","葵青區":"葵青","觀塘區":"观塘","北區":"北区","西貢區":"西贡","沙田區":"沙田","深水埗區":"深水埗","南區":"南区","大埔區":"大埔","荃灣區":"荃湾","屯門區":"屯门","灣仔區":"湾仔","黃大仙區":"黄大仙","油尖旺區":"油尖旺","元朗區":"元朗"},"animationDurationUpdate":1000,"animationEasingUpdate":"circularInOut"}]},{"id":"chart3","timeline":{"axisType":"category","autoPlay":true,"playInterval":1000,"data":["2002","2003","2004",{"value":"2005","tooltip":{"formatter":"{b} GDP达到一个高度"},"symbol":"diamond","symbolSize":16},"2006","2007","2008","2009","2010",{"value":"2011","tooltip":{"formatter":"{b} GDP达到又一个高度"},"symbol":"diamond","symbolSize":18}],"label":{"formatter":"{value}"}},"baseOption":{"id":"chart3_base","title":{"subtext":"数据来自国家统计局"},"tooltip":{},"legend":{"x":"right","data":["第一产业","第二产业","第三产业"]},"grid":{"top":80,"bottom":100},"xAxis":[{"type":"category","axisLabel":{"interval":0},"data":["北京","\n天津","河北","\n山西","内蒙古","\n辽宁","吉林","\n黑龙江","上海","\n江苏","浙江","\n安徽","福建","\n江西","山东","\n河南","湖北","\n湖南","广东","\n广西","海南","\n重庆","四川","\n贵州","云南","\n西藏","陕西","\n甘肃","青海","\n宁夏","新疆"],"splitLine":{"show":false}}],"yAxis":[{"type":"value","name":"GDP（亿元）","max":30000}],"series":[{"name":"第一产业","type":"bar"},{"name":"第二产业","type":"bar"},{"name":"第三产业","type":"bar"},{"name":"GDP占比","type":"pie","center":["75%","35%"],"radius":"28%"}]},"options":[{"id":"chart3_2002","title":{"text":"2002全国宏观经济指标"},"series":[{"data":[{"name":"北京","value":82.44},{"name":"天津","value":84.21},{"name":"河北","value":956.84},{"name":"山西","value":197.8},{"name":"内蒙古","value":374.69},{"name":"辽宁","value":590.2},{"name":"吉林","value":446.17},{"name":"黑龙江","value":474.2},{"name":"上海","value":79.68},{"name":"江苏","value":1110.44},{"name":"浙江","value":685.2},{"name":"安徽","value":783.66},{"name":"福建","value":664.78},{"name":"江西","value":535.98},{"name":"山东","value":1390},{"name":"河南","value":1288.36},{"name":"湖北","value":707},{"name":"湖南","value":847.25},{"name":"广东","value":1015.08},{"name":"广西","value":601.99},{"name":"海南","value":222.89},{"name":"重庆","value":317.87},{"name":"四川","value":1047.95},{"name":"贵州","value":281.1},{"name":"云南","value":463.44},{"name":"西藏","value":39.75},{"name":"陕西","value":282.21},{"name":"甘肃","value":215.51},{"name":"青海","value":47.31},{"name":"宁夏","value":52.95},{"name":"新疆","value":305}]},{"data":[{"name":"北京","value":1249.99},{"name":"天津","value":1069.08},{"name":"河北","value":2911.69},{"name":"山西","value":1134.31},{"name":"内蒙古","value":754.78},{"name":"辽宁","value":2609.85},{"name":"吉林","value":943.49},{"name":"黑龙江","value":1843.6},{"name":"上海","value":2622.45},{"name":"江苏","value":5604.49},{"name":"浙江","value":4090.48},{"name":"安徽","value":1337.04},{"name":"福建","value":2036.97},{"name":"江西","value":941.77},{"name":"山东","value":5184.98},{"name":"河南","value":2768.75},{"name":"湖北","value":1709.89},{"name":"湖南","value":1523.5},{"name":"广东","value":6143.4},{"name":"广西","value":846.89},{"name":"海南","value":148.88},{"name":"重庆","value":958.87},{"name":"四川","value":1733.38},{"name":"贵州","value":481.96},{"name":"云南","value":934.88},{"name":"西藏","value":32.72},{"name":"陕西","value":1007.56},{"name":"甘肃","value":501.69},{"name":"青海","value":144.51},{"name":"宁夏","value":153.06},{"name":"新疆","value":603.15}]},{"data":[{"name":"北京","value":2982.57},{"name":"天津","value":997.47},{"name":"河北","value":2149.75},{"name":"山西","value":992.69},{"name":"内蒙古","value":811.47},{"name":"辽宁","value":2258.17},{"name":"吉林","value":958.88},{"name":"黑龙江","value":1319.4},{"name":"上海","value":3038.9},{"name":"江苏","value":3891.92},{"name":"浙江","value":3227.99},{"name":"安徽","value":1399.02},{"name":"福建","value":1765.8},{"name":"江西","value":972.73},{"name":"山东","value":3700.52},{"name":"河南","value":1978.37},{"name":"湖北","value":1795.93},{"name":"湖南","value":1780.79},{"name":"广东","value":6343.94},{"name":"广西","value":1074.85},{"name":"海南","value":270.96},{"name":"重庆","value":956.12},{"name":"四川","value":1943.68},{"name":"贵州","value":480.37},{"name":"云南","value":914.5},{"name":"西藏","value":89.56},{"name":"陕西","value":963.62},{"name":"甘肃","value":514.83},{"name":"青海","value":148.83},{"name":"宁夏","value":171.14},{"name":"新疆","value":704.5}]},{"data":[{"name":"第一产业","value":16191.95},{"name":"第二产业","value":54028.06},{"name":"第三产业","value":50599.27}]}]},{"id":"chart3_2003","title":{"text":"2003全国宏观经济指标"},"series":[{"data":[{"name":"北京","value":84.11},{"name":"天津","value":89.91},{"name":"河北","value":1064.05},{"name":"山西","value":215.19},{"name":"内蒙古","value":420.1},{"name":"辽宁","value":615.8},{"name":"吉林","value":488.23},{"name":"黑龙江","value":504.8},{"name":"上海","value":81.02},{"name":"江苏","value":1162.45},{"name":"浙江","value":717.85},{"name":"安徽","value":749.4},{"name":"福建","value":692.94},{"name":"江西","value":560},{"name":"山东","value":1480.67},{"name":"河南","value":1198.7},{"name":"湖北","value":798.35},{"name":"湖南","value":886.47},{"name":"广东","value":1072.91},{"name":"广西","value":658.78},{"name":"海南","value":244.29},{"name":"重庆","value":339.06},{"name":"四川","value":1128.61},{"name":"贵州","value":298.69},{"name":"云南","value":494.6},{"name":"西藏","value":40.7},{"name":"陕西","value":302.66},{"name":"甘肃","value":237.91},{"name":"青海","value":48.47},{"name":"宁夏","value":55.63},{"name":"新疆","value":412.9}]},{"data":[{"name":"北京","value":1487.15},{"name":"天津","value":1337.31},{"name":"河北","value":3417.56},{"name":"山西","value":1463.38},{"name":"内蒙古","value":967.49},{"name":"辽宁","value":2898.89},{"name":"吉林","value":1098.37},{"name":"黑龙江","value":2084.7},{"name":"上海","value":3209.02},{"name":"江苏","value":6787.11},{"name":"浙江","value":5096.38},{"name":"安徽","value":1535.29},{"name":"福建","value":2340.82},{"name":"江西","value":1204.33},{"name":"山东","value":6485.05},{"name":"河南","value":3310.14},{"name":"湖北","value":1956.02},{"name":"湖南","value":1777.74},{"name":"广东","value":7592.78},{"name":"广西","value":984.08},{"name":"海南","value":175.82},{"name":"重庆","value":1135.31},{"name":"四川","value":2014.8},{"name":"贵州","value":569.37},{"name":"云南","value":1047.66},{"name":"西藏","value":47.64},{"name":"陕西","value":1221.17},{"name":"甘肃","value":572.02},{"name":"青海","value":171.92},{"name":"宁夏","value":194.27},{"name":"新疆","value":719.54}]},{"data":[{"name":"北京","value":3435.95},{"name":"天津","value":1150.81},{"name":"河北","value":2439.68},{"name":"山西","value":1176.65},{"name":"内蒙古","value":1000.79},{"name":"辽宁","value":2487.85},{"name":"吉林","value":1075.48},{"name":"黑龙江","value":1467.9},{"name":"上海","value":3404.19},{"name":"江苏","value":4493.31},{"name":"浙江","value":3890.79},{"name":"安徽","value":1638.42},{"name":"福建","value":1949.91},{"name":"江西","value":1043.08},{"name":"山东","value":4112.43},{"name":"河南","value":2358.86},{"name":"湖北","value":2003.08},{"name":"湖南","value":1995.78},{"name":"广东","value":7178.94},{"name":"广西","value":1178.25},{"name":"海南","value":293.85},{"name":"重庆","value":1081.35},{"name":"四川","value":2189.68},{"name":"贵州","value":558.28},{"name":"云南","value":1013.76},{"name":"西藏","value":96.76},{"name":"陕西","value":1063.89},{"name":"甘肃","value":589.91},{"name":"青海","value":169.81},{"name":"宁夏","value":195.46},{"name":"新疆","value":753.91}]},{"data":[{"name":"第一产业","value":17145.25},{"name":"第二产业","value":64903.13},{"name":"第三产业","value":57488.81}]}]},{"id":"chart3_2004","title":{"text":"2004全国宏观经济指标"},"series":[{"data":[{"name":"北京","value":87.36},{"name":"天津","value":105.28},{"name":"河北","value":1370.43},{"name":"山西","value":276.3},{"name":"内蒙古","value":522.8},{"name":"辽宁","value":798.43},{"name":"吉林","value":568.69},{"name":"黑龙江","value":605.79},{"name":"上海","value":83.45},{"name":"江苏","value":1367.58},{"name":"浙江","value":814.1},{"name":"安徽","value":950.5},{"name":"福建","value":786.84},{"name":"江西","value":664.5},{"name":"山东","value":1778.45},{"name":"河南","value":1649.29},{"name":"湖北","value":1020.09},{"name":"湖南","value":1022.45},{"name":"广东","value":1248.59},{"name":"广西","value":817.88},{"name":"海南","value":278.76},{"name":"重庆","value":428.05},{"name":"四川","value":1379.93},{"name":"贵州","value":334.5},{"name":"云南","value":607.75},{"name":"西藏","value":44.3},{"name":"陕西","value":387.88},{"name":"甘肃","value":286.78},{"name":"青海","value":60.7},{"name":"宁夏","value":65.33},{"name":"新疆","value":461.26}]},{"data":[{"name":"北京","value":1853.58},{"name":"天津","value":1685.93},{"name":"河北","value":4301.73},{"name":"山西","value":1919.4},{"name":"内蒙古","value":1248.27},{"name":"辽宁","value":3061.62},{"name":"吉林","value":1329.68},{"name":"黑龙江","value":2487.04},{"name":"上海","value":3892.12},{"name":"江苏","value":8437.99},{"name":"浙江","value":6250.38},{"name":"安徽","value":1844.9},{"name":"福建","value":2770.49},{"name":"江西","value":1566.4},{"name":"山东","value":8478.69},{"name":"河南","value":4182.1},{"name":"湖北","value":2320.6},{"name":"湖南","value":2190.54},{"name":"广东","value":9280.73},{"name":"广西","value":1253.7},{"name":"海南","value":205.6},{"name":"重庆","value":1376.91},{"name":"四川","value":2489.4},{"name":"贵州","value":681.5},{"name":"云南","value":1281.63},{"name":"西藏","value":52.74},{"name":"陕西","value":1553.1},{"name":"甘肃","value":713.3},{"name":"青海","value":211.7},{"name":"宁夏","value":244.05},{"name":"新疆","value":914.47}]},{"data":[{"name":"北京","value":4092.27},{"name":"天津","value":1319.76},{"name":"河北","value":2805.47},{"name":"山西","value":1375.67},{"name":"内蒙古","value":1270},{"name":"辽宁","value":2811.95},{"name":"吉林","value":1223.64},{"name":"黑龙江","value":1657.77},{"name":"上海","value":4097.26},{"name":"江苏","value":5198.03},{"name":"浙江","value":4584.22},{"name":"安徽","value":1963.9},{"name":"福建","value":2206.02},{"name":"江西","value":1225.8},{"name":"山东","value":4764.7},{"name":"河南","value":2722.4},{"name":"湖北","value":2292.55},{"name":"湖南","value":2428.95},{"name":"广东","value":8335.3},{"name":"广西","value":1361.92},{"name":"海南","value":335.3},{"name":"重庆","value":1229.62},{"name":"四川","value":2510.3},{"name":"贵州","value":661.8},{"name":"云南","value":1192.53},{"name":"西藏","value":123.3},{"name":"陕西","value":1234.6},{"name":"甘肃","value":688.41},{"name":"青海","value":193.7},{"name":"宁夏","value":227.73},{"name":"新疆","value":833.36}]},{"data":[{"name":"第一产业","value":20874.04},{"name":"第二产业","value":80080.29},{"name":"第三产业","value":66968.23}]}]},{"id":"chart3_2005","title":{"text":"2005全国宏观经济指标"},"series":[{"data":[{"name":"北京","value":88.68},{"name":"天津","value":112.38},{"name":"河北","value":1400},{"name":"山西","value":262.42},{"name":"内蒙古","value":589.56},{"name":"辽宁","value":882.41},{"name":"吉林","value":625.61},{"name":"黑龙江","value":684.6},{"name":"上海","value":90.26},{"name":"江苏","value":1461.51},{"name":"浙江","value":892.83},{"name":"安徽","value":966.5},{"name":"福建","value":827.36},{"name":"江西","value":727.37},{"name":"山东","value":1963.51},{"name":"河南","value":1892.01},{"name":"湖北","value":1082.13},{"name":"湖南","value":1100.65},{"name":"广东","value":1428.27},{"name":"广西","value":912.5},{"name":"海南","value":300.75},{"name":"重庆","value":463.4},{"name":"四川","value":1481.14},{"name":"贵州","value":368.94},{"name":"云南","value":661.69},{"name":"西藏","value":48.04},{"name":"陕西","value":435.77},{"name":"甘肃","value":308.06},{"name":"青海","value":65.34},{"name":"宁夏","value":72.07},{"name":"新疆","value":509.99}]},{"data":[{"name":"北京","value":2026.51},{"name":"天津","value":2135.07},{"name":"河北","value":5271.57},{"name":"山西","value":2357.04},{"name":"内蒙古","value":1773.21},{"name":"辽宁","value":3869.4},{"name":"吉林","value":1580.83},{"name":"黑龙江","value":2971.68},{"name":"上海","value":4381.2},{"name":"江苏","value":10524.96},{"name":"浙江","value":7164.75},{"name":"安徽","value":2245.9},{"name":"福建","value":3175.92},{"name":"江西","value":1917.47},{"name":"山东","value":10478.62},{"name":"河南","value":5514.14},{"name":"湖北","value":2852.12},{"name":"湖南","value":2612.57},{"name":"广东","value":11356.6},{"name":"广西","value":1510.68},{"name":"海南","value":240.83},{"name":"重庆","value":1564},{"name":"四川","value":3067.23},{"name":"贵州","value":821.16},{"name":"云南","value":1426.42},{"name":"西藏","value":63.52},{"name":"陕西","value":1951.36},{"name":"甘肃","value":838.56},{"name":"青海","value":264.61},{"name":"宁夏","value":281.05},{"name":"新疆","value":1164.79}]},{"data":[{"name":"北京","value":4854.33},{"name":"天津","value":1658.19},{"name":"河北","value":3340.54},{"name":"山西","value":1611.07},{"name":"内蒙古","value":1542.26},{"name":"辽宁","value":3295.45},{"name":"吉林","value":1413.83},{"name":"黑龙江","value":1857.42},{"name":"上海","value":4776.2},{"name":"江苏","value":6612.22},{"name":"浙江","value":5360.1},{"name":"安徽","value":2137.77},{"name":"福建","value":2551.41},{"name":"江西","value":1411.92},{"name":"山东","value":5924.74},{"name":"河南","value":3181.27},{"name":"湖北","value":2655.94},{"name":"湖南","value":2882.88},{"name":"广东","value":9772.5},{"name":"广西","value":1560.92},{"name":"海南","value":377.17},{"name":"重庆","value":1440.32},{"name":"四川","value":2836.73},{"name":"贵州","value":815.32},{"name":"云南","value":1374.62},{"name":"西藏","value":137.24},{"name":"陕西","value":1546.59},{"name":"甘肃","value":787.36},{"name":"青海","value":213.37},{"name":"宁夏","value":259.49},{"name":"新疆","value":929.41}]},{"data":[{"name":"第一产业","value":22705.75},{"name":"第二产业","value":97403.77},{"name":"第三产业","value":79118.58}]}]},{"id":"chart3_2006","title":{"text":"2006全国宏观经济指标"},"series":[{"data":[{"name":"北京","value":88.8},{"name":"天津","value":103.35},{"name":"河北","value":1461.81},{"name":"山西","value":276.77},{"name":"内蒙古","value":634.94},{"name":"辽宁","value":939.43},{"name":"吉林","value":672.76},{"name":"黑龙江","value":750.14},{"name":"上海","value":93.81},{"name":"江苏","value":1545.05},{"name":"浙江","value":925.1},{"name":"安徽","value":1011.03},{"name":"福建","value":865.98},{"name":"江西","value":786.14},{"name":"山东","value":2138.9},{"name":"河南","value":1916.74},{"name":"湖北","value":1140.41},{"name":"湖南","value":1272.2},{"name":"广东","value":1532.17},{"name":"广西","value":1032.47},{"name":"海南","value":323.48},{"name":"重庆","value":386.38},{"name":"四川","value":1595.48},{"name":"贵州","value":382.06},{"name":"云南","value":724.4},{"name":"西藏","value":50.9},{"name":"陕西","value":484.81},{"name":"甘肃","value":334},{"name":"青海","value":67.55},{"name":"宁夏","value":79.54},{"name":"新疆","value":527.8}]},{"data":[{"name":"北京","value":2191.43},{"name":"天津","value":2457.08},{"name":"河北","value":6110.43},{"name":"山西","value":2755.66},{"name":"内蒙古","value":2374.96},{"name":"辽宁","value":4566.83},{"name":"吉林","value":1915.29},{"name":"黑龙江","value":3365.31},{"name":"上海","value":4969.95},{"name":"江苏","value":12282.89},{"name":"浙江","value":8511.51},{"name":"安徽","value":2711.18},{"name":"福建","value":3695.04},{"name":"江西","value":2419.74},{"name":"山东","value":12574.03},{"name":"河南","value":6724.61},{"name":"湖北","value":3365.08},{"name":"湖南","value":3187.05},{"name":"广东","value":13469.77},{"name":"广西","value":1878.56},{"name":"海南","value":308.62},{"name":"重庆","value":1871.65},{"name":"四川","value":3775.14},{"name":"贵州","value":967.54},{"name":"云南","value":1705.83},{"name":"西藏","value":80.1},{"name":"陕西","value":2452.44},{"name":"甘肃","value":1043.19},{"name":"青海","value":331.91},{"name":"宁夏","value":351.58},{"name":"新疆","value":1459.3}]},{"data":[{"name":"北京","value":5837.55},{"name":"天津","value":1902.31},{"name":"河北","value":3895.36},{"name":"山西","value":1846.18},{"name":"内蒙古","value":1934.35},{"name":"辽宁","value":3798.26},{"name":"吉林","value":1687.07},{"name":"黑龙江","value":2096.35},{"name":"上海","value":5508.48},{"name":"江苏","value":7914.11},{"name":"浙江","value":6281.86},{"name":"安徽","value":2390.29},{"name":"福建","value":3022.83},{"name":"江西","value":1614.65},{"name":"山东","value":7187.26},{"name":"河南","value":3721.44},{"name":"湖北","value":3111.98},{"name":"湖南","value":3229.42},{"name":"广东","value":11585.82},{"name":"广西","value":1835.12},{"name":"海南","value":433.57},{"name":"重庆","value":1649.2},{"name":"四川","value":3319.62},{"name":"贵州","value":989.38},{"name":"云南","value":1557.91},{"name":"西藏","value":159.76},{"name":"陕西","value":1806.36},{"name":"甘肃","value":900.16},{"name":"青海","value":249.04},{"name":"宁夏","value":294.78},{"name":"新疆","value":1058.16}]},{"data":[{"name":"第一产业","value":24144.4},{"name":"第二产业","value":115873.7},{"name":"第三产业","value":92818.63}]}]},{"id":"chart3_2007","title":{"text":"2007全国宏观经济指标"},"series":[{"data":[{"name":"北京","value":101.26},{"name":"天津","value":110.19},{"name":"河北","value":1804.72},{"name":"山西","value":311.97},{"name":"内蒙古","value":762.1},{"name":"辽宁","value":1133.42},{"name":"吉林","value":783.8},{"name":"黑龙江","value":915.38},{"name":"上海","value":101.84},{"name":"江苏","value":1816.31},{"name":"浙江","value":986.02},{"name":"安徽","value":1200.18},{"name":"福建","value":1002.11},{"name":"江西","value":905.77},{"name":"山东","value":2509.14},{"name":"河南","value":2217.66},{"name":"湖北","value":1378},{"name":"湖南","value":1626.48},{"name":"广东","value":1695.57},{"name":"广西","value":1241.35},{"name":"海南","value":361.07},{"name":"重庆","value":482.39},{"name":"四川","value":2032},{"name":"贵州","value":446.38},{"name":"云南","value":837.35},{"name":"西藏","value":54.89},{"name":"陕西","value":592.63},{"name":"甘肃","value":387.55},{"name":"青海","value":83.41},{"name":"宁夏","value":97.89},{"name":"新疆","value":628.72}]},{"data":[{"name":"北京","value":2509.4},{"name":"天津","value":2892.53},{"name":"河北","value":7201.88},{"name":"山西","value":3454.49},{"name":"内蒙古","value":3193.67},{"name":"辽宁","value":5544.14},{"name":"吉林","value":2475.45},{"name":"黑龙江","value":3695.58},{"name":"上海","value":5571.06},{"name":"江苏","value":14471.26},{"name":"浙江","value":10154.25},{"name":"安徽","value":3370.96},{"name":"福建","value":4476.42},{"name":"江西","value":2975.53},{"name":"山东","value":14647.53},{"name":"河南","value":8282.83},{"name":"湖北","value":4143.06},{"name":"湖南","value":3977.72},{"name":"广东","value":16004.61},{"name":"广西","value":2425.29},{"name":"海南","value":364.26},{"name":"重庆","value":2368.53},{"name":"四川","value":4648.79},{"name":"贵州","value":1124.79},{"name":"云南","value":2038.39},{"name":"西藏","value":98.48},{"name":"陕西","value":2986.46},{"name":"甘肃","value":1279.32},{"name":"青海","value":419.03},{"name":"宁夏","value":455.04},{"name":"新疆","value":1647.55}]},{"data":[{"name":"北京","value":7236.15},{"name":"天津","value":2250.04},{"name":"河北","value":4600.72},{"name":"山西","value":2257.99},{"name":"内蒙古","value":2467.41},{"name":"辽宁","value":4486.74},{"name":"吉林","value":2025.44},{"name":"黑龙江","value":2493.04},{"name":"上海","value":6821.11},{"name":"江苏","value":9730.91},{"name":"浙江","value":7613.46},{"name":"安徽","value":2789.78},{"name":"福建","value":3770},{"name":"江西","value":1918.95},{"name":"山东","value":8620.24},{"name":"河南","value":4511.97},{"name":"湖北","value":3812.34},{"name":"湖南","value":3835.4},{"name":"广东","value":14076.83},{"name":"广西","value":2156.76},{"name":"海南","value":528.84},{"name":"重庆","value":1825.21},{"name":"四川","value":3881.6},{"name":"贵州","value":1312.94},{"name":"云南","value":1896.78},{"name":"西藏","value":188.06},{"name":"陕西","value":2178.2},{"name":"甘肃","value":1037.11},{"name":"青海","value":294.91},{"name":"宁夏","value":366.18},{"name":"新疆","value":1246.89}]},{"data":[{"name":"第一产业","value":28607.55},{"name":"第二产业","value":138898.3},{"name":"第三产业","value":112232}]}]},{"id":"chart3_2008","title":{"text":"2008全国宏观经济指标"},"series":[{"data":[{"name":"北京","value":112.83},{"name":"天津","value":122.58},{"name":"河北","value":2034.59},{"name":"山西","value":313.58},{"name":"内蒙古","value":907.95},{"name":"辽宁","value":1302.02},{"name":"吉林","value":916.72},{"name":"黑龙江","value":1088.94},{"name":"上海","value":111.8},{"name":"江苏","value":2100.11},{"name":"浙江","value":1095.96},{"name":"安徽","value":1418.09},{"name":"福建","value":1158.17},{"name":"江西","value":1060.38},{"name":"山东","value":3002.65},{"name":"河南","value":2658.78},{"name":"湖北","value":1780},{"name":"湖南","value":1892.4},{"name":"广东","value":1973.05},{"name":"广西","value":1453.75},{"name":"海南","value":436.04},{"name":"重庆","value":575.4},{"name":"四川","value":2216.15},{"name":"贵州","value":539.19},{"name":"云南","value":1020.56},{"name":"西藏","value":60.62},{"name":"陕西","value":753.72},{"name":"甘肃","value":462.27},{"name":"青海","value":105.57},{"name":"宁夏","value":118.94},{"name":"新疆","value":691.07}]},{"data":[{"name":"北京","value":2626.41},{"name":"天津","value":3709.78},{"name":"河北","value":8701.34},{"name":"山西","value":4242.36},{"name":"内蒙古","value":4376.19},{"name":"辽宁","value":7158.84},{"name":"吉林","value":3097.12},{"name":"黑龙江","value":4319.75},{"name":"上海","value":6085.84},{"name":"江苏","value":16993.34},{"name":"浙江","value":11567.42},{"name":"安徽","value":4198.93},{"name":"福建","value":5318.44},{"name":"江西","value":3554.81},{"name":"山东","value":17571.98},{"name":"河南","value":10259.99},{"name":"湖北","value":5082.07},{"name":"湖南","value":5028.93},{"name":"广东","value":18502.2},{"name":"广西","value":3037.74},{"name":"海南","value":423.55},{"name":"重庆","value":3057.78},{"name":"四川","value":5823.39},{"name":"贵州","value":1370.03},{"name":"云南","value":2452.75},{"name":"西藏","value":115.56},{"name":"陕西","value":3861.12},{"name":"甘肃","value":1470.34},{"name":"青海","value":557.12},{"name":"宁夏","value":609.98},{"name":"新疆","value":2070.76}]},{"data":[{"name":"北京","value":8375.76},{"name":"天津","value":2886.65},{"name":"河北","value":5276.04},{"name":"山西","value":2759.46},{"name":"内蒙古","value":3212.06},{"name":"辽宁","value":5207.72},{"name":"吉林","value":2412.26},{"name":"黑龙江","value":2905.68},{"name":"上海","value":7872.23},{"name":"江苏","value":11888.53},{"name":"浙江","value":8799.31},{"name":"安徽","value":3234.64},{"name":"福建","value":4346.4},{"name":"江西","value":2355.86},{"name":"山东","value":10358.64},{"name":"河南","value":5099.76},{"name":"湖北","value":4466.85},{"name":"湖南","value":4633.67},{"name":"广东","value":16321.46},{"name":"广西","value":2529.51},{"name":"海南","value":643.47},{"name":"重庆","value":2160.48},{"name":"四川","value":4561.69},{"name":"贵州","value":1652.34},{"name":"云南","value":2218.81},{"name":"西藏","value":218.67},{"name":"陕西","value":2699.74},{"name":"甘肃","value":1234.21},{"name":"青海","value":355.93},{"name":"宁夏","value":475},{"name":"新疆","value":1421.38}]},{"data":[{"name":"第一产业","value":33483.88},{"name":"第二产业","value":167245.86},{"name":"第三产业","value":132584.21}]}]},{"id":"chart3_2009","title":{"text":"2009全国宏观经济指标"},"series":[{"data":[{"name":"北京","value":118.29},{"name":"天津","value":128.85},{"name":"河北","value":2207.34},{"name":"山西","value":477.59},{"name":"内蒙古","value":929.6},{"name":"辽宁","value":1414.9},{"name":"吉林","value":980.57},{"name":"黑龙江","value":1154.33},{"name":"上海","value":113.82},{"name":"江苏","value":2261.86},{"name":"浙江","value":1163.08},{"name":"安徽","value":1495.45},{"name":"福建","value":1182.74},{"name":"江西","value":1098.66},{"name":"山东","value":3226.64},{"name":"河南","value":2769.05},{"name":"湖北","value":1795.9},{"name":"湖南","value":1969.69},{"name":"广东","value":2010.27},{"name":"广西","value":1458.49},{"name":"海南","value":462.19},{"name":"重庆","value":606.8},{"name":"四川","value":2240.61},{"name":"贵州","value":550.27},{"name":"云南","value":1067.6},{"name":"西藏","value":63.88},{"name":"陕西","value":789.64},{"name":"甘肃","value":497.05},{"name":"青海","value":107.4},{"name":"宁夏","value":127.25},{"name":"新疆","value":759.74}]},{"data":[{"name":"北京","value":2855.55},{"name":"天津","value":3987.84},{"name":"河北","value":8959.83},{"name":"山西","value":3993.8},{"name":"内蒙古","value":5114},{"name":"辽宁","value":7906.34},{"name":"吉林","value":3541.92},{"name":"黑龙江","value":4060.72},{"name":"上海","value":6001.78},{"name":"江苏","value":18566.37},{"name":"浙江","value":11908.49},{"name":"安徽","value":4905.22},{"name":"福建","value":6005.3},{"name":"江西","value":3919.45},{"name":"山东","value":18901.83},{"name":"河南","value":11010.5},{"name":"湖北","value":6038.08},{"name":"湖南","value":5687.19},{"name":"广东","value":19419.7},{"name":"广西","value":3381.54},{"name":"海南","value":443.43},{"name":"重庆","value":3448.77},{"name":"四川","value":6711.87},{"name":"贵州","value":1476.62},{"name":"云南","value":2582.53},{"name":"西藏","value":136.63},{"name":"陕西","value":4236.42},{"name":"甘肃","value":1527.24},{"name":"青海","value":575.33},{"name":"宁夏","value":662.32},{"name":"新疆","value":1929.59}]},{"data":[{"name":"北京","value":9179.19},{"name":"天津","value":3405.16},{"name":"河北","value":6068.31},{"name":"山西","value":2886.92},{"name":"内蒙古","value":3696.65},{"name":"辽宁","value":5891.25},{"name":"吉林","value":2756.26},{"name":"黑龙江","value":3371.95},{"name":"上海","value":8930.85},{"name":"江苏","value":13629.07},{"name":"浙江","value":9918.78},{"name":"安徽","value":3662.15},{"name":"福建","value":5048.49},{"name":"江西","value":2637.07},{"name":"山东","value":11768.18},{"name":"河南","value":5700.91},{"name":"湖北","value":5127.12},{"name":"湖南","value":5402.81},{"name":"广东","value":18052.59},{"name":"广西","value":2919.13},{"name":"海南","value":748.59},{"name":"重庆","value":2474.44},{"name":"四川","value":5198.8},{"name":"贵州","value":1885.79},{"name":"云南","value":2519.62},{"name":"西藏","value":240.85},{"name":"陕西","value":3143.74},{"name":"甘肃","value":1363.27},{"name":"青海","value":398.54},{"name":"宁夏","value":563.74},{"name":"新疆","value":1587.72}]},{"data":[{"name":"第一产业","value":35229.55},{"name":"第二产业","value":179896.2},{"name":"第三产业","value":150177.94}]}]},{"id":"chart3_2010","title":{"text":"2010全国宏观经济指标"},"series":[{"data":[{"name":"北京","value":124.36},{"name":"天津","value":145.58},{"name":"河北","value":2562.81},{"name":"山西","value":554.48},{"name":"内蒙古","value":1095.28},{"name":"辽宁","value":1631.08},{"name":"吉林","value":1050.15},{"name":"黑龙江","value":1302.9},{"name":"上海","value":114.15},{"name":"江苏","value":2540.1},{"name":"浙江","value":1360.56},{"name":"安徽","value":1729.02},{"name":"福建","value":1363.67},{"name":"江西","value":1206.98},{"name":"山东","value":3588.28},{"name":"河南","value":3258.09},{"name":"湖北","value":2147},{"name":"湖南","value":2325.5},{"name":"广东","value":2286.98},{"name":"广西","value":1675.06},{"name":"海南","value":539.83},{"name":"重庆","value":685.38},{"name":"四川","value":2482.89},{"name":"贵州","value":625.03},{"name":"云南","value":1108.38},{"name":"西藏","value":68.72},{"name":"陕西","value":988.45},{"name":"甘肃","value":599.28},{"name":"青海","value":134.92},{"name":"宁夏","value":159.29},{"name":"新疆","value":1078.63}]},{"data":[{"name":"北京","value":3388.38},{"name":"天津","value":4840.23},{"name":"河北","value":10707.68},{"name":"山西","value":5234},{"name":"内蒙古","value":6367.69},{"name":"辽宁","value":9976.82},{"name":"吉林","value":4506.31},{"name":"黑龙江","value":5025.15},{"name":"上海","value":7218.32},{"name":"江苏","value":21753.93},{"name":"浙江","value":14297.93},{"name":"安徽","value":6436.62},{"name":"福建","value":7522.83},{"name":"江西","value":5122.88},{"name":"山东","value":21238.49},{"name":"河南","value":13226.38},{"name":"湖北","value":7767.24},{"name":"湖南","value":7343.19},{"name":"广东","value":23014.53},{"name":"广西","value":4511.68},{"name":"海南","value":571},{"name":"重庆","value":4359.12},{"name":"四川","value":8672.18},{"name":"贵州","value":1800.06},{"name":"云南","value":3223.49},{"name":"西藏","value":163.92},{"name":"陕西","value":5446.1},{"name":"甘肃","value":1984.97},{"name":"青海","value":744.63},{"name":"宁夏","value":827.91},{"name":"新疆","value":2592.15}]},{"data":[{"name":"北京","value":10600.84},{"name":"天津","value":4238.65},{"name":"河北","value":7123.77},{"name":"山西","value":3412.38},{"name":"内蒙古","value":4209.03},{"name":"辽宁","value":6849.37},{"name":"吉林","value":3111.12},{"name":"黑龙江","value":4040.55},{"name":"上海","value":9833.51},{"name":"江苏","value":17131.45},{"name":"浙江","value":12063.82},{"name":"安徽","value":4193.69},{"name":"福建","value":5850.62},{"name":"江西","value":3121.4},{"name":"山东","value":14343.14},{"name":"河南","value":6607.89},{"name":"湖北","value":6053.37},{"name":"湖南","value":6369.27},{"name":"广东","value":20711.55},{"name":"广西","value":3383.11},{"name":"海南","value":953.67},{"name":"重庆","value":2881.08},{"name":"四川","value":6030.41},{"name":"贵州","value":2177.07},{"name":"云南","value":2892.31},{"name":"西藏","value":274.82},{"name":"陕西","value":3688.93},{"name":"甘肃","value":1536.5},{"name":"青海","value":470.88},{"name":"宁夏","value":702.45},{"name":"新疆","value":1766.69}]},{"data":[{"name":"第一产业","value":40532.83},{"name":"第二产业","value":219885.81},{"name":"第三产业","value":176623.34}]}]},{"id":"chart3_2011","title":{"text":"2011全国宏观经济指标"},"series":[{"data":[{"name":"北京","value":136.27},{"name":"天津","value":159.72},{"name":"河北","value":2905.73},{"name":"山西","value":641.42},{"name":"内蒙古","value":1306.3},{"name":"辽宁","value":1915.57},{"name":"吉林","value":1277.44},{"name":"黑龙江","value":1701.5},{"name":"上海","value":124.94},{"name":"江苏","value":3064.78},{"name":"浙江","value":1583.04},{"name":"安徽","value":2015.31},{"name":"福建","value":1612.24},{"name":"江西","value":1391.07},{"name":"山东","value":3973.85},{"name":"河南","value":3512.24},{"name":"湖北","value":2569.3},{"name":"湖南","value":2768.03},{"name":"广东","value":2665.2},{"name":"广西","value":2047.23},{"name":"海南","value":659.23},{"name":"重庆","value":844.52},{"name":"四川","value":2983.51},{"name":"贵州","value":726.22},{"name":"云南","value":1411.01},{"name":"西藏","value":74.47},{"name":"陕西","value":1220.9},{"name":"甘肃","value":678.75},{"name":"青海","value":155.08},{"name":"宁夏","value":184.14},{"name":"新疆","value":1139.03}]},{"data":[{"name":"北京","value":3752.48},{"name":"天津","value":5928.32},{"name":"河北","value":13126.86},{"name":"山西","value":6635.26},{"name":"内蒙古","value":8037.69},{"name":"辽宁","value":12152.15},{"name":"吉林","value":5611.48},{"name":"黑龙江","value":5962.41},{"name":"上海","value":7927.89},{"name":"江苏","value":25203.28},{"name":"浙江","value":16555.58},{"name":"安徽","value":8309.38},{"name":"福建","value":9069.2},{"name":"江西","value":6390.55},{"name":"山东","value":24017.11},{"name":"河南","value":15427.08},{"name":"湖北","value":9815.94},{"name":"湖南","value":9361.99},{"name":"广东","value":26447.38},{"name":"广西","value":5675.32},{"name":"海南","value":714.5},{"name":"重庆","value":5543.04},{"name":"四川","value":11029.13},{"name":"贵州","value":2194.33},{"name":"云南","value":3780.32},{"name":"西藏","value":208.79},{"name":"陕西","value":6935.59},{"name":"甘肃","value":2377.83},{"name":"青海","value":975.18},{"name":"宁夏","value":1056.15},{"name":"新疆","value":3225.9}]},{"data":[{"name":"北京","value":12363.18},{"name":"天津","value":5219.24},{"name":"河北","value":8483.17},{"name":"山西","value":3960.87},{"name":"内蒙古","value":5015.89},{"name":"辽宁","value":8158.98},{"name":"吉林","value":3679.91},{"name":"黑龙江","value":4918.09},{"name":"上海","value":11142.86},{"name":"江苏","value":20842.21},{"name":"浙江","value":14180.23},{"name":"安徽","value":4975.96},{"name":"福建","value":6878.74},{"name":"江西","value":3921.2},{"name":"山东","value":17370.89},{"name":"河南","value":7991.72},{"name":"湖北","value":7247.02},{"name":"湖南","value":7539.54},{"name":"广东","value":24097.7},{"name":"广西","value":3998.33},{"name":"海南","value":1148.93},{"name":"重庆","value":3623.81},{"name":"四川","value":7014.04},{"name":"贵州","value":2781.29},{"name":"云南","value":3701.79},{"name":"西藏","value":322.57},{"name":"陕西","value":4355.81},{"name":"甘肃","value":1963.79},{"name":"青海","value":540.18},{"name":"宁夏","value":861.92},{"name":"新疆","value":2245.12}]},{"data":[{"name":"第一产业","value":47448.04},{"name":"第二产业","value":263448.11},{"name":"第三产业","value":210544.98}]}]}]}]},{"id":"dataset02","layout":[{"id":"chart1","tooltip":{"trigger":"axis"},"toolbox":{"feature":{"dataView":{"show":true,"readOnly":false},"magicType":{"show":true,"type":["line","bar"]},"restore":{"show":true},"saveAsImage":{"show":true}}},"legend":{"data":["蒸发量","降水量","平均温度"]},"xAxis":[{"type":"category","data":["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]}],"yAxis":[{"type":"value","name":"水量","min":0,"max":250,"interval":50,"axisLabel":{"formatter":"{value} ml"}},{"type":"value","name":"温度","min":0,"max":25,"interval":5,"axisLabel":{"formatter":"{value} °C"}}],"series":[{"name":"蒸发量","type":"bar","data":[2,4.9,7,23.2,25.6,76.7,135.6,162.2,32.6,20,6.4,3.3]},{"name":"降水量","type":"bar","data":[2.6,5.9,9,26.4,28.7,70.7,175.6,182.2,48.7,18.8,6,2.3]},{"name":"平均温度","type":"line","yAxisIndex":1,"data":[2,2.2,3.3,4.5,6.3,10.2,20.3,23.4,23,16.5,12,6.2]}]}]}]}};

            var engine = infovis.init(config || {});
            console.log(JSON.stringify())
            if(engine) {
                engine
                .render("chartpanel2", "dataset02", "chart1")
                .render("chartpanel3", "dataset01", "chart3")
                .render("chartpanel1", "dataset01", "chart1")
                .registerAction("mapselectchanged", function (params) {
                    if(params.name === '香港') {
                        if(params.selected[params.name]) {
                            engine.render("chartpanel1", "dataset01", "chart2");
                        }
                    }
                });
            }
        });
    </script>
  </body>
</html>